package com.xc.freeapp.service;

import java.util.Map;

import com.xc.freeapp.entity.Users;

import com.xc.freeapp.exception.BaseException;


public interface UsersService {
    
	public    Users    login(String  loginName,String loginPwd,String  businessid);
    /**
     * 用户详情
     * @param usersid
     */
	public   Users    getUserInfo(String  usersid);
	
	public int updateUserInfo(Map<String ,String> map) throws BaseException ;
	  
	//修改用户详情
	public int updateuserinfo(Users users) throws BaseException;
	
    
    
    /**判断qq号或者微信号是否已经被绑定
    * @param paramsmap
    *             {userid,type,_val}
    */
   public int selectCount(Map<String, String> paramsmap);

}
